<tagLib name="html" />
<include file="Public:headerNew" />
<load href="__PUBLIC__/Js/jqueryUI/jquery-ui-1.8.16.custom.min.js" />
<load href="__PUBLIC__/Css/jqueryUI/jquery-ui-1.8.21.custom.css" />
<load href="__PUBLIC__/Js/Jquery/jquery.form.js" />
<load href='__PUBLIC__/Js/listtolist.js'/>
<div class="titleone"><h1 class="fLeft">缴费信息</h1><a href="__URL__"><div class="returnimg"></div></a></div>
<div id="result" class="result none"></div>

		<script type="text/javascript">
			$(function(){
	       		$('#form1,#from2').ajaxForm({
						type: 'POST',
									
						beforeSubmit:  checkForm,  // pre-submit callback
						
						success:       complete,  // post-submit callback
						
						dataType: 'json'
				
				});
					
		
		        
				function checkForm(){

							if( '' == $.trim($('#name').val())){
											
									$('#result').html('名字不能为空').show();
							
											return false;
							
							}
							


							

								
							//可以在此添加其它判断
		
						}
							
				function complete(data){
						
							if (data.status==1){
						
										$('#result').html(data.info).show();
						
										// 更新列表
						
										data = data.data;
						
									}else{
						
										$('#result').html(data.info).show();
						
									}
			 } 
			


			});
			function submitForm() { 
									// inside event callbacks 'this' is the DOM element so we first 
									// wrap it in a jQuery object and then invoke ajaxSubmit 
						$(this).submit();
       					return false;	
								
   			};
			
			
			

			
			
			
</script>

<div id="main" class="main full" >
<div class="metroTitle">缴费</div>	



</div>




		


